<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    body {
      padding: 0;
      margin: 0;
    }

    .container {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      background-color: black;
    }

    .header {
      flex-basis: 80px;
      height: 80px;
      background-color: skyblue;
    }

    .main {
      background-color: pink;
      flex: 1 0;
    }

    .content {
      height: 800px;
      background-color: rgb(196, 102, 102);
    }

    .footer {
      background-color: rgb(18, 211, 218);
      flex-basis: 80px;
      height: 80px;
    }
  </style>
</head>

<body>
  <div class="container">
    <div class="header">
      header
    </div>
    <div class="main">
      main
      <div class="content">shui-di</div>
    </div>
    <div class="footer">
      footer
    </div>
  </div>
</body>

</html>